home *** CD-ROM | disk | FTP | other *** search
/ Disc to the Future 2 / Disc to the Future Part II Programmer's Reference (Wayzata Technology)(6013)(1992).bin / MAC / THINKC / 3_0 / CUTILSLI / UTILITYL / ERROR.C < prev    next >
Text File  |  1987-11-10  |  1KB  |  29 lines

  1.     /**********************************************
  2.     *    Filename:    Error.c                                                                 
  3.     *    Purpose:    Error Handling                      
  4.     *    Authors:    Robert E. Neville                                                       
  5.     *    Date:        November 10, 1987                                                        
  6.     *    Functions:     NoteError().
  7.     *    Version    1.0                                                                            
  8.     *    Copyright ⌐ 1987     Hummingbird Graphics                                  
  9.     ***********************************************/
  10.  
  11.     /* These must be redeclared elsewhere */
  12.  
  13.     #define ERRORALERT  400            /* Error Alert RSRC */
  14.  
  15.     /****************************************************************
  16.     *    Function:    NoteError(str1,str2,str3,str4)
  17.     *    Purpose:    Room for Notes as to what error was or is.
  18.     *    Passed:        str1,str2,str3,str4    -    Pascal String Ptr.
  19.     *    Returned:    Nothing.
  20.     *****************************************************************/
  21.  
  22.     NoteError(str1,str2,str3,str4)
  23.     char    *str1,*str2,*str3,*str4;        /* Ptrs to Pascal Strings */                
  24.     {
  25.         ParamText(str1, str2,str3,str4);    /* Pass strings to ParamText */
  26.         NoteAlert(ERRORALERT, 0L);            /* Issue NoteAlert */
  27.     }                                        /* End of NoteError */
  28.  
  29.     /**********     End of File     **********/